import { defHttp } from '@/utils/http/axios';

enum Api {
  BOOKMARKS = '/api/bookmarks',
}

// Get personal center-basic settings
export const useBookmarksApi = () => defHttp.get<any>({ url: Api.BOOKMARKS });

// export const useGetFileDataApi = ({ userid, filePath }) =>
//   defHttp.post({ url: Api.GET_FILE, data: { userid, filePath } });

// export const useDownloadFileApi = ({ filePath }) =>
//   defHttp.get({ url: Api.DOWNLOAD_FILE, params: { filePath } }, { params: { filePath } });
